package cn.edu.scau.cmi.yangqing.client;

import cn.edu.scau.cmi.yangqing.interProgramming.Animal;
import cn.edu.scau.cmi.yangqing.interProgramming.CatIsAnimal;
import cn.edu.scau.cmi.yangqing.interProgramming.DogIsAnimal;

public class InterProgrammingClient {
	public static void main(String[] args) {
		Animal dogAnimal = new DogIsAnimal();
		dogAnimal.say();
		Animal catAnimal = new CatIsAnimal();
		catAnimal.say();
	}
}
